package com.cmc.cloud.cmclink.doc.vo.depotvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *堆场VO
 *
 * @author codegen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DepotReqVO {

    @Schema(description = "港口编码")
    @NotBlank(message = "{DepotReqVO.portCode.NotBlank}")
    private String portCode;

    @Schema(description = "是否是CFS")
    @NotNull(message = "{DepotReqVO.isCfs.NotNull}")
    private Boolean isCfs;

    @Schema(description = "是否启用")
    @NotNull(message = "{DepotReqVO.enabled.NotNull}")
    private Boolean enabled;

}
